bmp2map [Tool Command]
Converts a Bitmap assembled from 8x8-dot parts into AGB BG data.
Syntax
bmp2map [-o/-f/-p/-c/-b/-B/-P/-M] input-file
Description
AGB BG data is formed from the assembly of 8x8-dot parts. This tool divides the parts out from a Bitmap previously assembled from parts, and then outputs map data based on these parts. The output format can be binary or C source. If a parts file has not been input, this tool also will automatically create the parts. This parts data will be the same as that created by the "agbparts" tool.
The command arguments are described below:
- input-file
- Inputs a bitmap assembled from parts.
- -o output-file
- Specifies the name of the output file. If no name is specified, it will take the base name of the input file plus the extension appropriate for that output format.
- -f
- Treats parts and their vertical & horizontal mirrors as the same. This argument is set automatically when the input bitmap is 4bit.
- -p palette-number
- The palette number that is set when the input bitmap is 4bit. All map palette numbers are set to be the same. The default value is 0.
- -c parts-file
- Inputs a bitmap expressing parts data. Specify this argument when you want to output map data put together from parts you have set yourself. When a character which is not in this parts data is used, the character will be added to the parts data.
- -b
- Outputs in binary. If this argument is not specified the data is output in C source.
- -B
- Outputs characters in binary output mode. The filename automatically takes the .imb extension.
- -P
- Outputs palettes in binary output mode. The filename automatically takes the .plb extension.
- -M
- Outputs map data in binary output mode. The filename automatically takes the .mpb extension. This argument is set automatically when -b is set and -B -P are not.
Note
Supports the 4bit, 4bit RLE-compressed, 8bit and 8bit RLE-compressed image formats. An error will occur if the parts exceed the useable limit on the AGB. If more parts are used than were input, the 'number of added parts' and the 'total number of parts' are displayed. The inputted parts data is not optimized.
AGB-06-0031-001A (2/26/01)
© 2001 Nintendo of America Inc.